Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openchemlib

Package Overview
Dependencies
Maintainers
4
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openchemlib

Manipulate molecules

  • 8.17.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.4K
increased by13.23%
Maintainers
4
Weekly downloads
 
Created
Source

OpenChemLib JS

JavaScript port of the OpenChemLib Java library.

Zakodium logo

Maintained by Zakodium

NPM version build status npm download DOI

Installation

npm install openchemlib

Documentation

This library is available in three different builds: minimal, core and full. Each larger build contains all functionalities from the smaller ones.

The core build is the one that you get when you require('openchemlib'). It contains all functionalities that can be used in Node.js.

The minimal (require('openchemlib/minimal')) build is a smaller one (~ half the size of core) that is meant to be used in a browser application if bundle size matters and prediction functionalities are not needed.

The full build (require('openchemlib/full')) build is the largest build. It contains a structure viewer and a structure editor for browser applications.

Modules present in minimal, core and full builds

Modules present only in core and full builds

Modules present only in full build

Development

To build this project, you need :

Install dependencies

npm ci

Configure directories

Copy config.default.json to config.json and put the path to the GWT classes on your computer.
If you want to use a custom JDK installation, set the "jdk" key to be the path to your JDK directory.

npm scripts

To run one of the scripts, use npm run <scriptName>.
To pass an options, use npm run <scriptName> -- --option.

Options:

  • -m [name]: only process module "name"
  • -v: verbose output
compile:min / compile:pretty

Execute the GWT compiler.

export

Transform the GWT compiled files to JavaScript modules.

build:min / build:pretty

Compile and export.

copy:openchemlib

Copy the required java files from the openchemlib project.

License

BSD-3-Clause

Keywords

FAQs

Package last updated on 06 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc